package com.erp.erp_entitys.Billing.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zjk
 * @version 1.0
 * @description 开票---报关明细表信息（与开票查询使用同一个）
 * @date 2021/1/17/017 2:16
 */
public class QueryBillDeclareDetailVO implements Serializable {
    /**
     * 报关明细id(开票明细id)
     */
    private Integer declareProductId;
    /**
     * 报关主表id(开票主表id)
     */
    private Integer declareId;
    /**
     *产品编码
     */
    private String goodsCode;
    /**
     *规格编码
     */
    private String specCode;
    /**
     *规格说明
     */
    private String goodsSpec;

    /**
     *中文名称
     */
    private String goodsCname;
    /**
     *英文名称
     */
    private String goodsEname;
    /**
     *中文描述
     */
    private String goodsCdesc;
    /**
     *英文描述
     */
    private String goodsEdesc;

    /**
     *数量
     */
    private Integer goodsNum;
    /**
     *单位
     */
    private String goodsUnit;
    /**
     * 剩余数量
     */
    private Integer lastAmount;
    /**
     * 可以开票的数量=报关的产品数量减去以开票的数量
     */
    private Integer canBillingAmount;

    /**
     *报关单价
     */
    private BigDecimal declarePrice;
    /**
     *报关小计
     */
    private BigDecimal totalPrice;
    /**
     * 成本价（采购单价）
     */
    private BigDecimal stockPrice;
    /**
     *成本小计（采购单价*数量）
     */
    private BigDecimal costSubtotal;
    /**
     * 成本单价
     */
    private BigDecimal costUnitPrice;
    /**
     * 开票小计
     */
    private BigDecimal invoiceSubtotal;

    /**
     *采购单号
     */
    private String stockCode;
    /**
     *销售合同号
     */
    private String saleContractCode;

    /**
     * 颜色
     */
    private String color;

    /**
     * 银行名称
     */
    private String bankName;
    /**
     *毛重
     */
    private BigDecimal goodsGross;
    /**
     *毛重小计
     */
    private BigDecimal totalGross ;
    /**
     *净重
     */
    private BigDecimal  netWeight;
    /**
     *净重小计
     */
    private BigDecimal  totalNet;
    /**
     *体积
     */
    private BigDecimal  bulk;



    /**
     *供应商id
     */
    private String  supplyId;
    /**
     *供应商名称
     */
    private String  supplyName;
    /**
     *报关发票号码
     */
    private String  invoiceCode;


    private String linker;



    /**
     *产品类型(1:成品 2:配件 )
     */
    private Integer  productType;
    /**
     *海关编码
     */
    private String  hsCode;
    /**
     *报关中文品名
     */
    private String billGoodsCname ;
    /**
     *报关英文品名
     */
    private String  billGoodsEname;
    /**
     *报关要素
     */
    private String hsMemo ;
    /**
     *增值税率
     */
    private BigDecimal addRate ;
    /**
     *退税率
     */
    private BigDecimal backRate ;
    /**
     *客户合同号
     */
    private String  clientContractNo;

    /**
     *签约公司名称（开票抬头）
     */
    private String  companyName;
    /**
     *签约公司编号（开票抬头）
     */
    private String  companyCode;

    public BigDecimal getCostUnitPrice() {
        return costUnitPrice;
    }

    public BigDecimal getInvoiceSubtotal() {
        return invoiceSubtotal;
    }

    public Integer getCanBillingAmount() {
        return canBillingAmount;
    }

    public void setCanBillingAmount(Integer canBillingAmount) {
        this.canBillingAmount = canBillingAmount;
    }

    public void setInvoiceSubtotal(BigDecimal invoiceSubtotal) {
        this.invoiceSubtotal = invoiceSubtotal;
    }

    public void setCostUnitPrice(BigDecimal costUnitPrice) {
        this.costUnitPrice = costUnitPrice;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getColor() {
        return color;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public void setColor(String color) {
        this.color = color;
    }


    public BigDecimal getGoodsGross() {
        return goodsGross;
    }

    public void setGoodsGross(BigDecimal goodsGross) {
        this.goodsGross = goodsGross;
    }

    public BigDecimal getTotalGross() {
        return totalGross;
    }

    public void setTotalGross(BigDecimal totalGross) {
        this.totalGross = totalGross;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getTotalNet() {
        return totalNet;
    }

    public void setTotalNet(BigDecimal totalNet) {
        this.totalNet = totalNet;
    }

    public BigDecimal getBulk() {
        return bulk;
    }

    public void setBulk(BigDecimal bulk) {
        this.bulk = bulk;
    }

    public String getLinker() {
        return linker;
    }

    public void setLinker(String linker) {
        this.linker = linker;
    }

    public String getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(String supplyId) {
        this.supplyId = supplyId;
    }

    public String getSupplyName() {
        return supplyName;
    }

    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getHsCode() {
        return hsCode;
    }

    public void setHsCode(String hsCode) {
        this.hsCode = hsCode;
    }

    public String getBillGoodsCname() {
        return billGoodsCname;
    }

    public void setBillGoodsCname(String billGoodsCname) {
        this.billGoodsCname = billGoodsCname;
    }

    public String getBillGoodsEname() {
        return billGoodsEname;
    }

    public void setBillGoodsEname(String billGoodsEname) {
        this.billGoodsEname = billGoodsEname;
    }

    public String getHsMemo() {
        return hsMemo;
    }

    public void setHsMemo(String hsMemo) {
        this.hsMemo = hsMemo;
    }

    public BigDecimal getAddRate() {
        return addRate;
    }

    public void setAddRate(BigDecimal addRate) {
        this.addRate = addRate;
    }

    public BigDecimal getBackRate() {
        return backRate;
    }

    public void setBackRate(BigDecimal backRate) {
        this.backRate = backRate;
    }

    public String getClientContractNo() {
        return clientContractNo;
    }

    public void setClientContractNo(String clientContractNo) {
        this.clientContractNo = clientContractNo;
    }

    public Integer getDeclareProductId() {
        return declareProductId;
    }

    public void setDeclareProductId(Integer declareProductId) {
        this.declareProductId = declareProductId;
    }

    public Integer getDeclareId() {
        return declareId;
    }

    public void setDeclareId(Integer declareId) {
        this.declareId = declareId;
    }

    public Integer getLastAmount() {
        return lastAmount;
    }

    public void setLastAmount(Integer lastAmount) {
        this.lastAmount = lastAmount;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getSpecCode() {
        return specCode;
    }

    public void setSpecCode(String specCode) {
        this.specCode = specCode;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public String getGoodsCname() {
        return goodsCname;
    }

    public void setGoodsCname(String goodsCname) {
        this.goodsCname = goodsCname;
    }

    public String getGoodsEname() {
        return goodsEname;
    }

    public void setGoodsEname(String goodsEname) {
        this.goodsEname = goodsEname;
    }

    public String getGoodsCdesc() {
        return goodsCdesc;
    }

    public void setGoodsCdesc(String goodsCdesc) {
        this.goodsCdesc = goodsCdesc;
    }

    public String getGoodsEdesc() {
        return goodsEdesc;
    }

    public void setGoodsEdesc(String goodsEdesc) {
        this.goodsEdesc = goodsEdesc;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public BigDecimal getDeclarePrice() {
        return declarePrice;
    }

    public void setDeclarePrice(BigDecimal declarePrice) {
        this.declarePrice = declarePrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getStockPrice() {
        return stockPrice;
    }

    public void setStockPrice(BigDecimal stockPrice) {
        this.stockPrice = stockPrice;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getSaleContractCode() {
        return saleContractCode;
    }

    public void setSaleContractCode(String saleContractCode) {
        this.saleContractCode = saleContractCode;
    }
}
